package com.tx.springcloud.producerb.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author ：tx
 * @description：
 * @date ：Created in 2019/4/17 14:46
 * @modified By：
 * @version:
 */
@RestController
public class HelloController {
    @RequestMapping("/hello")
    public String hello(@RequestParam String name){
        return "hello service b"+name;
    }
}
